package org.pers;

import java.util.List;

import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.core.Response;


public interface SimpleHandlerInterface {
	@GET
	@Path("/double/{a}")
	@Produces("application/json")
	public List<Person> getDouble(@PathParam("a") int a);
	
	@GET
	@Path("/sum/{a}/{b}")
	@Produces("application/json")
	public int sum(@PathParam("a") int a,@PathParam("b") int b);
}
